/**
 * Copyright (c) 快宝网络 kuaidihelp.com Co., Ltd. All Rights Reserved 禁止外泄以及用于其它的商业用途
 */

/**
 * 短信/云呼管理-超限模板审核
 */
import React from 'react';
import { PageContainer } from '@ant-design/pro-layout';
import { Tabs } from 'antd';
import KbDeductMoney from '@/components/_pages/sms/blackDeductMoney/deductMoney';
import KbBlcakAccount from '@/components/_pages/sms/blackDeductMoney/blcakAccount';

const VehicleCallLogout: React.FC = () => {
  const tabList = [
    {
      tab: '扣钱不发帐户管理',
      key: 'deductMoney',
      dom: <KbDeductMoney />,
    },
    {
      tab: '拉黑快递员/驿站',
      key: 'blcakAccount',
      dom: <KbBlcakAccount />,
    },
  ];

  return (
    <PageContainer>
      <Tabs>
        {tabList.map((item) => (
          <Tabs.TabPane tab={item.tab} key={item.key}>
            {item.dom}
          </Tabs.TabPane>
        ))}
      </Tabs>
    </PageContainer>
  );
};

export default VehicleCallLogout;
